summaryrefslogtreecommitdiff
path: root/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-03 18:39:08 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-12-03 18:39:08 +0900
commitbf3a801245a0be1d9001ee106e48cbf8b4bc73df (patch)
tree2608770bedc66c8cc5baed98306486d7dac6a6d4 /app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx
parent2f02e9ea125c3ec42afac84ec903767930335dd3 (diff)
(임수민) 페이지 타이틀과 메뉴명 일치 작업
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx')
-rw-r--r--app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx b/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx
index 9f2b2e61..891296db 100644
--- a/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx
+++ b/app/[lng]/evcp/(evcp)/(eng)/cover/page.tsx
@@ -9,12 +9,16 @@ import { searchParamsProjectsCache } from "@/lib/projects/validation"
import { InformationButton } from "@/components/information/information-button"
import { getProjectListsForCover } from "@/lib/cover/service"
import { ProjectsTableForCover } from "@/lib/cover/table/projects-table"
+import { useTranslation } from "@/i18n"
interface IndexPageProps {
+ params: Promise<{ lng: string }>
searchParams: Promise<SearchParams>
}
export default async function IndexPage(props: IndexPageProps) {
+ const { lng } = await props.params
+ const { t } = await useTranslation(lng, 'menu')
const searchParams = await props.searchParams
const search = searchParamsProjectsCache.parse(searchParams)
@@ -35,7 +39,7 @@ export default async function IndexPage(props: IndexPageProps) {
<div>
<div className="flex items-center gap-2">
<h2 className="text-2xl font-bold tracking-tight">
- 프로젝트 리스트
+ {t('menu.engineering_management.cover')}
</h2>
<InformationButton pagePath="evcp/projects" />
</div>